package com.Iconcat.system.service.impl;

import com.Iconcat.system.entity.RechargeRecord;
import com.Iconcat.system.mapper.RechargeRecordMapper;
import com.Iconcat.system.service.RechargeRecordService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class RechargeRecordServiceImpl extends ServiceImpl<RechargeRecordMapper, RechargeRecord> implements RechargeRecordService {

    @Resource
    private RechargeRecordMapper rechargeRecordMapper;


    @Override
    public IPage<Map<String, Object>> getOrderListPage(Page<?> page, LambdaQueryWrapper<RechargeRecord> queryWrapper) {
            return baseMapper.getOrderListPage(page,queryWrapper);

    }

    @Override
    public int updateRecordId(RechargeRecord entity) {
        return rechargeRecordMapper.updateRecordId(entity);
    }
}
